#loading_wrapper
{
	display:none;
}

.hideOnload
{
	display:none;
}

#loading_container
{
	position:absolute;
	top:50%;
	left:50%;
	width:125px;
	margin-left:38px;
	margin-top:-16px;
	z-index:10000;
	background:white;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding:10px;
	text-align:center;
	
}

#loading_container .loading_title
{
	font-weight:bold;
	margin-top:5px;
}

#loading_background
{
	position:absolute;
	background:gray;
	bottom:0;
	top:0;
	opacity:0.4;
	z-index:1000;
	width:100%;
	margin-top:45px;
	margin-left:200px;
}

#loaderImage
{
	margin:0 auto;
}

.k-grid .k-select
{
	padding:6px 0 !important;
}

.k-grid .k-dropdown
{
	height: 28px;
}

.k-grid .k-grid-pager
{
	padding: 5px 0 0px 5px !important;
}

.k-grid .k-grid-pager .k-link
{
	margin-bottom:5px;
	
}

.k-grid .k-grid-pager .k-pager-numbers .k-link
{
	padding: 0px 7px;
	border-style: solid;
	border-width: 1px;
	line-height: 22px;
	border-color: transparent;
}

.margin10
{
	margin-top:10px;
}

.tab_content
{
	/*position:absolute;
	right:0;
	left:0;
	padding-left:10px;
	padding-right:10px;	*/
}

.form label
{
	display: block;
	font-size: 12px;
	/*float: left;*/
	font-weight: bold;
	margin: 0;
	clear: left;
	
	margin-top: 5px;
}

label em {
	color: red;
	font-style: normal;
}

.form label small {
	color: #666666;
	display: block;
	font-size: 11px;
	font-weight: normal;
	line-height: 11px;
	text-align: right;
	width: 160px;
}

.width100
{
	width:100%;	
}

.chzn-search input[type='text']
{
	width:100% !important;	
	height:25px !important;
}

textarea
{
	width:100%;
	-moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
    resize:vertical;	
}

.fix-btn
{
	height:20px !important;	
}

.fix-btn [class*=" icon-"]
{
	line-height:20px !important;
}


.modal iframe
{
	width: 100%;
	border: none !important;

	-moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
 
}

.custom_modal .modal-header {

	border-bottom: none !important;
	padding: 0px 5px !important;
	height:22px;
}

.custom_modal .modal-body
{
	padding-top:0 !important;
}


@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		tr { border: 1px solid #ccc; }
		
		td[role="gridcell"] { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50% !important; 
			border-style:none !important;
		}
		
		td[role="gridcell"]:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			font-weight:bold;
			content: attr(data-label);
		}
		
		/*
		Label the data
		
		td:nth-of-type(1):before { content: "First Name"; }
		td:nth-of-type(2):before { content: "Last Name"; }
		td:nth-of-type(3):before { content: "Age"; }
		*/
	}
	
/*fix chosen*/
.chzn-container-single .chzn-single span
{
	margin-right:75px;
}

.chzn-container-single .chzn-single div
{
	margin-right: 36px;
	width: 37px !important;
	border-radius:0 !important;
	-webkit-border-radius:0 !important;
	-moz-border-radius:0 !important;
	border-left: 1px solid #aaa !important;

}

.chosen_group
{
	position:relative;
}

.chosen_group .btn
{
	position:absolute;
	top:0;
	right:0;
	border-radius:0px 4px 4px 0px;
	-webkit-border-radius:0px 4px 4px 0px;
	-moz-border-radius:0px 4px 4px 0px;
	
	background: #ccc !important;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee)) !important;
	background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%) !important;
	background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%) !important;
	background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%) !important;
	background-image: -ms-linear-gradient(top, #cccccc 0%,#eeeeee 60%) !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#eeeeee',GradientType=0 );
	background-image: linear-gradient(top, #cccccc 0%,#eeeeee 60%) !important;
	border-left: 1px solid #aaa;
	border: 1px solid #aaa !important;
	border-bottom:none !important;
	border-right:none !important;
	border-top:none !important;
	color: black !important;
	height: 21px !important;
	margin-top: 1px;
	margin-right: -1px;
}

.chzn-container-single .chzn-single
{
	height:29px !important;
}

.chzn-container-single .chzn-single span
{
	height:29px !important;
}

.chzn-container-single .chzn-single div b
{
	/*background-position:15px 4px;*/
	margin: 12px 14px;
	display:inline-block;
	border-top: 6px solid #000000;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
}

.loading-spinner
{
	z-index:99999999999 !important;
}


.chzn-container-single-nosearch .chzn-search
{
	display:none;
}

.chzn-container-single-nosearch .chzn-results
{
	margin-top:1px !important;
}

#fileList ul li
{
	list-style:none;
	float:left;
}

#fileList ul li img
{
	width:90px;
	height:90px;
}

#fileList div
{
	position:relative;
	float:left;
	margin: 10px;
}

#fileList div img
{
	width:90px;
	height:90px;
}

#fileList div a
{
	text-decoration:none;
	position:absolute;
	right: -5px;
	top: -8px;
	color:black !important;
	cursor:pointer;
}

.detailgrid
{
	font-weight:bold;
}

.detail_grid_info
{
	margin-left:20px;
}

.controls.custom .k-numeric-wrap
{
	padding: 0 !important;
	height: 30px;
	border:none !important;
	position:relative;
}

.controls.custom .k-numeric-wrap .k-formatted-value
{
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	min-height: 30px;
	cursor:text !important;
	border:1px solid #c2c2c2 !important;
	display:block !important;
	position:absolute;
	z-index:2 !important;
}

.controls.custom .k-state-focused .k-formatted-value
{
	border:none !important;
}

.controls.custom .k-numeric-wrap .k-input
{
	padding-top: 0px;
	padding-bottom: 0px;
	min-height: 30px !important;
	border-width: 1px;
	border-style: solid;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	display:block !important;
	position:absolute;
	z-index:1;
}

.controls.custom .k-numeric-wrap .k-input[data-role='numerictextbox']:focus
{
	z-index:3 !important;
}

.controls.custom .k-numeric-wrap .k-input.error
{
	z-index:3 !important;
	border-color: rgba(226, 119, 90, 0.6) !important;
}

.controls.custom .k-numeric-wrap .k-input.error:focus
{
	border-color:red !important;
}

a.chzn-single.error
{
	border:1px solid red !important;
	border-color:rgba(226, 119, 90, 0.6) !important;
}

a.chzn-single.error:hover
{
	border:1px solid red !important;
}

#tab_create_phanquyen .tab-content
{
	border:1px solid #ddd;
	position: relative;
	z-index: 1;
	left: -1px;
}

#tab_create_phanquyen .nav-tabs
{
	margin:0 !important;
	position: relative;
	z-index: 2;
}


.hideonLogin
{
	display:none;
}

.fixMarginLogin
{
	bottom: 0;

    left: 0;
    margin: 0 !important;
    position: absolute;
    top: 0;
    width: 100%;
}

#tab_list_login
{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -146px;
	margin-top: -145px;
	width:300px;
	padding:20px;
	-webkit-box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.9) inset;
	-moz-box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.9) inset;
	box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.9) inset;
	
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#tab_list_login .input-medium
{
	width:270px;
}

#tab_list_login .icon-user,#tab_list_login .icon-lock
{
	line-height:20px;
}

.invalid_permission
{
	text-align:center;
	margin-top:15px;
}

.k-link
{
	text-decoration:none !important;
}

.detail_grid_info
{
	font-weight:normal;
}

.k-panelbar-expand, .k-panelbar-collapse
{
	top:9px !important;
}

.chosen_multiple .chzn-container-multi .chzn-choices .search-choice .search-choice-close
{
	height:10px !important;
}

.chosen_table .k-grid-content
{
	overflow-y: auto !important;
}

.chosen_table .chzn-results li
{
	border-bottom: 1px solid #94c0d2;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.chosen_table .chzn-results
{
	overflow-y: scroll !important;
}



.chosen_table .chzn-results li:last-child
{
	border-bottom:none;
}

.chosen_multiple .chzn-choices li
{
	background: none !important;
	border: none !important;
	font-size: 14px;
	line-height: 21px !important;
}

.chosen_multiple .chzn-choices li a
{
	margin-top: 6px;
}

.chosen_quickcreate
{
	position:relative;
}

.chosen_quickcreate .chzn-choices
{
	width: auto !important;
	padding-right: 37px;
	
}

.chosen_multiple .chzn-choices input[type="text"]
{
	height: 26px !important;
}

.chosen_multiple .chzn-choices li.search-choice
{
	margin:0 !important;
}

.chosen_multiple .chzn-results .no-results
{
	height:30px;
	line-height:30px;
}

.chosen_quickcreate .fix-btn
{
	position:absolute;
	top:0;
	right:0px;
	border-radius: 0px ;
	-webkit-border-radius: 0px ;
	-moz-border-radius: 0px ;
}

.chosen_selectone .chzn-choices
{
	height:28px !important;
}

.chosen_nocreate .chzn-container-single .chzn-single div
{
	margin-right:0 !important;
}

ul.chzn-choices.error
{
	border:1px solid red !important;
	border-color:rgba(226, 119, 90, 0.6) !important;
}

ul.chzn-choices.error:hover
{
	border:1px solid red !important;
}

.modal-open
{
	overflow:visible;
}

.progress.custom
{
	position:relative;
	 background: #d6d8dd;
	  background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0%, #d6d8dd), color-stop(100%, #e2e4e8));
	  background: -webkit-linear-gradient(top, #d6d8dd 0%, #e2e4e8 100%);
	  background: -moz-linear-gradient(top, #d6d8dd 0%, #e2e4e8 100%);
	  background: -ms-linear-gradient(top, #d6d8dd 0%, #e2e4e8 100%);
	  background: -o-linear-gradient(top, #d6d8dd 0%, #e2e4e8 100%);
	  background: linear-gradient(to bottom, #d6d8dd 0%, #e2e4e8 100%);
	  background-repeat: repeat-x;
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffd6d8dd', endColorstr='#ffe2e4e8', GradientType=0);
	  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.7);
	  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.7);
	  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.7);
}

.barnumber
{
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	color:black;
}

.k-grid.custom
{
	width:100%;
}

.k-grid.custom td
{
	overflow:visible;
}

.k-grid.custom .k-grid-header .k-header
{
	white-space: normal !important;
}

.k-grid tr.error
{
	color: #b94a48;
	background-color: #f2dede;

}